Hi <%= @user.nickname %>

<% unless @user.optin? %>
We have updated our terms of service and privacy policy. If you do not accept these changes your account will be removed at some point in the future.

Click here to read and accept the new terms of service and privacy policy: <%= account_url %>

-----
<% end %>

I detected a new release (<%= @version.number %>) of <%= @project %> (<%= project_url(@project.to_param) %>) <%= "at #{@version.published_at.to_s(:long)}" if @version.published_at.present? %>

<% if @repos.any? %>
You depend on <%= @project %> in the following repos: <%= @repos.map{|repo| repository_url(repo.to_param) }.to_sentence %>
<% end %>

Check out all the details here: <%= version_url(@project.to_param.merge(number: @version.number)) %>

<% if @project.repository.present? %>
<% if @version.related_tag %>
Browse the code for <%= @version %> on <%= @project.repository.formatted_host %>: <%= @version.repository_url %>
<% if @version.previous_version %>
View diff between <%= @version %> and <%= @version.previous_version %>: <%= @version.diff_url %>
<% end %>
<% else %>
You can also browse the latest commits on <%= @project.repository.formatted_host %>: <%= @project.repository.commits_url %>
<% end %>
<% end %>

From your friendly neighborhood robot, Libby.

-----

p.s. You can unsubscribe from notifications about <%= @project %> here: <%= unsubscribe_project_url(@project.to_param) %>
You can opt out of emails from your account here: <%= account_url %>
